package workbench.actors;
import com.funkyfurrymonkey.world2d.StaticActor;
import openfl.display.Bitmap;
import openfl.geom.Point;
import box2D.dynamics.B2World;
/**
 * ...
 * @author Marcos Martinez
 */
class HillLeft extends StaticActor
{

	private var arrPoints:Array<Point>;
	public function new(cWorld:B2World ) 
	{		
		super(cWorld);
		arrPoints = new Array<Point>();
		setVector();
		
	}
	
	
	public function start( bmCostume:Bitmap,  cPoint:Point)
	{
		setProps(bmCostume, cPoint , arrPoints);
		Create();
	}
	
	private function Create()
	{	
		var obj:Object2dData = new Object2dData();
		create(obj);
	}
	private function setVector()
	{
		arrPoints.push(new Point(0,0));
		arrPoints.push(new Point(70,-70));
		arrPoints.push(new Point(70, 0));
		
	}
}